<template>
  <group-select :formItem="compConfig" :formNamePath="props.formNamePath"></group-select>
</template>

<script lang="ts" setup>
import groupSelect from '../../formitem/groupSelect/index.vue'
import { watch, ref, computed, nextTick } from 'vue'
import formItemForm from './config';
import { useColumnModel } from '@/components/draggable/hooks/useColumnModel';
const props = defineProps({
  element: [],
  formNamePath: [],
})
const compConfig = ref(JSON.parse(JSON.stringify(formItemForm.component.settings)));
useColumnModel(compConfig, computed(() => props.element));


</script>

<style lang="less" scoped></style>